home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++,comp.os.ms-windows.nt.misc,comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.tools.mfc,comp.os.ms-windows.programmer.tools.misc
- Path: bath.ac.uk!uwe-bristol!usenet
- From: s-hewitt@uwe.ac.uk (Shaun Hewitt)
- Subject: REPOST: MS VC++ 4.0, Possible Bug??? Read this one :)
- Content-Type: Text/Plain; charset=ISO-8859-1
- Message-ID: <1996Apr19.113932.22208@pat.uwe.ac.uk>
- Summary: REPOST: MS VC++ 4.0, Possible Bug???
- Keywords: Class Project Wizard Bug Dialog
- Sender: usenet@pat.uwe.ac.uk (uwe nntp usenet poster)
- Nntp-Posting-Host: usenet@pat.uwe.ac.uk (uwe nntp usenet poster)
- Organization: IASEL
- X-Newsreader: WinVN 0.99.5
- Mime-Version: 1.0
- Date: Fri, 19 Apr 1996 11:39:32 GMT
-
- >>Sorry for the repost, my fingers slipped and I sent the
- posting before I had completed it - *Duurrrr* >:)
-
-
- MFC VC++ 4.0, Possible Bug??? in Class Wizard or Project Wizard
- ===============================================================
-
- Hi, I'm not sure if this is actually a bug or something that
- I am doing wrong so I would apprieciate some feedback on this one
- since Microsoft are pritty usless at support or require shit loads
- of money to answer a simple question.
-
- The problem seems to occur when I use the class wizard to produce
- skeleton code for a 'Dialog Based' application. Combined with the
- resource editor and 'Class Wizard'. Basically after adding the
- controls to the main application dialog, the class wizard refuses
- to acknowledge there existance.
-
- I am running on a 486DX2- 66 machine, plenty of RAM and plenty of
- HDrive space. (Not that any of this should make a difference),
- what might though is the fact I am running Windows NT - I have yet
- to try this out in Win95.
-
- Here is a sequence that will demonstrate the problem:
-
- First stage - Creating Workspace
- =================================
- 1 Having started MS VC++ 4.00 Select 'File/New' from menu
- 2 Select 'Project Workspace' From dialog and 'OK'
- 3 Select 'MFC Application(exe)', name: TestDlg 'CREATE'
- 4 MFC AppWizard Step 1 ~ Select 'Dialog Based', 'Next>'
- 5 MFC AppWizard Step 2 ~ unchanged, 'Next>'
- 6 MFC AppWizard Step 3 ~ Select 'Statically Linked Library', 'Next >'
- 7 MFC AppWizard Step 4 ~ Select 'Finish'
-
- Edit the Resource
- =================
- 8 Select 'Resource View' in IDE
- 9 Expand Dialog and select main application dialog,
- in this case IDD_TESTDLG_DIALOG
- 10 Delete the 'TODO: Place dialog controls here' static text box
- 11 Add a 'List Control' and change its ID in properties to IDC_LISTCTRL
- Select the styles in the properties and change view to 'Report'
- 12 Add an 'Edit Box' and change its ID in properties to IDC_EDITBOX
- 13 Add a 'Button' and change its in properties ID ~ IDC_ADD, Caption ~ &Add
-
-
- ...And Heres the Problem!!!!
- ============================
- 14 Select the ClassWizard...
-
- 15 In MFC ClassWizard 'Message Maps' IDC_LISTCTRL has no Messages ????
-
- 16 Selecting 'Member Variables' the IDC_ADD, IDC_EDITBOX and IDC_LISTCTRL
- are missing from the 'Control ID's' list.
-
-
- What is going on??? has anyone else experienced these problems???
- Anyone got any ideas??? insights??? anything???
-
- I can sort the Member Variables by manually adding the code to the class
- definition and the DoDataExchange() after which they magically appear
- in the Class Wizard.
-
- Unfortunatly I have not been so successful with the Messages...
-
- Well, if ya have any soltuions ideas or interesting reports let me know.
-
- Thanx,
-
- Shaun Hewitt
-
- IASeL, University of the West of England
- email ~ s-hewitt@uwe.ac.uk
- www ~ http://gate.uwe.ac.uk:8000/eng/ias/ias.html
-
- ************************* NOTE ********************************
- This information is for free use by anyone other than MicroSoft,
- :p, if they want to use it they can pay me รบ60 first since
- that is what it would have cost to present the question to them.
-
- ***************************************************************
-
-